import 'package:freezed_annotation/freezed_annotation.dart';
import 'dart:convert';

part 'contribution_get_contribution_list_response.freezed.dart';
part 'contribution_get_contribution_list_response.g.dart';

@freezed
class ContributionGetContributionListResponse
    with _$ContributionGetContributionListResponse {
  const factory ContributionGetContributionListResponse({
    @JsonKey(name: "c") required int c,
    @JsonKey(name: "m") required String m,
  }) = _ContributionGetContributionListResponse;

  factory ContributionGetContributionListResponse.fromJson(
          Map<String, dynamic> json) =>
      _$ContributionGetContributionListResponseFromJson(json);
}
